package com.wish.wishhouse_resource.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangshuxin
 * @since 2021-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_house_info")
public class TbHouseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @TableField("premises_id")
    private Integer premisesId;

    @TableField("lease_type")
    private Integer leaseType;

    @TableField("building_no")
    private String buildingNo;

    @TableField("unit_no")
    private String unitNo;

    @TableField("room_no")
    private String roomNo;

    @TableField("flat_name")
    private String flatName;

    @TableField("room")
    private Integer room;

    @TableField("hall")
    private Integer hall;

    @TableField("proportion")
    private Double proportion;

    @TableField("floor")
    private Integer floor;

    @TableField("floor_count")
    private Integer floorCount;

    @TableField("decorate")
    private Integer decorate;

    /**
     * 支付方式-押 1 押一 2 押二 3 押三
     */
    @TableField("payment_mortgage")
    private Integer paymentMortgage;

    /**
     * 支付方式-付 1 付一 2 付二 3 付三 4 付四 5 付五 6 付六
     */
    @TableField("payment_pay")
    private Integer paymentPay;

    @TableField("manager")
    private Integer manager;

    @TableField("type")
    private Integer type;

    @TableField("public_facility")
    private String publicFacility;

    @TableField("introduce")
    private String introduce;

    @TableField("status")
    private Integer status;

    @TableField("publish_status")
    private Integer publishStatus;

    @TableField("create_time")
    private String createTime;

    @TableField("create_by")
    private String createBy;

    @TableField("reserve1")
    private Integer reserve1;

    @TableField("reserve2")
    private Integer reserve2;

    @TableField("reserve3")
    private String reserve3;

    @TableField("reserve4")
    private String reserve4;

    @TableField("reserve5")
    private String reserve5;

    @TableField("dept_id")
    private Integer deptId;

    /**
     * 删除标识。0:未删除，1：删除
     */
    @TableField("del_flg")
    private Boolean delFlg;

    @TableField("update_time")
    private Date updateTime;

    @TableField(exist = false)
    private List<String> publicFacilityListy;
    @TableField(exist = false)
    private List<String> houseImages;
    @TableField(exist = false)
    private List<TbHouseInfo> roomInfoList;
}
